realm.js ➔ Realm   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 8
dl 0
loc 10
rs 9.4285

How to fix   Many Parameters   

Many Parameters

Methods with many parameters are not only hard to understand, but their parameters also often become inconsistent when you need more, or different data.

There are several approaches to avoid long parameter lists:

1
var Realm = /** @class */ (function () {
2
    function Realm(lg, dd, l, n, profileiconmax, version, cdn, css) {
3
        this.lg = lg;
4
        this.dd = dd;
5
        this.l = l;
6
        this.n = n;
7
        this.profileiconmax = profileiconmax;
8
        this.version = version;
9
        this.cdn = cdn;
10
        this.css = css;
11
    }
12
    return Realm;
13
}());
14
export { Realm };
15
//# sourceMappingURL=realm.js.map